//
//  WALoaderView.h
//  WeatherApp
//
//  Created by Yuliya Grasevych on 02.09.14.
//  Copyright (c) 2014 Yuliya Grasevych. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "WACustomView.h"

@interface WALoaderView : WACustomView


/**
 * @brief Show loader on view. If loader is already presented on that view - do nothing
 * @param parentView
 * @return LoaderView presented on parentView
 **/
+ (WALoaderView *)showLoaderOnView:(NSView *)parentView;
/**
 * @brief Remove loader from view. If there is no loader on view - do nothing
 * @param parentView
 **/
+ (void)removeLoaderFromView:(NSView *)parentView;

@end
